installer: Don't generate $wgDefaultSkin='' when no skins are present during installation
authorBartosz Dziewoński <matma.rex@gmail.com>
Sat, 10 Jan 2015 02:55:38 +0000 (03:55 +0100)
committerBartosz Dziewoński <matma.rex@gmail.com>
Tue, 13 Jan 2015 22:47:24 +0000 (22:47 +0000)
commit8d2b933b01889bde3e89892c86decefcfb2cd8e0
tree1ead4846ea60b85c1f125a26f0845eea2636469a
parent6357e69f602f5b023d80d7af313331a1309024ae
installer: Don't generate $wgDefaultSkin='' when no skins are present during installation

The bug only affects people installing from Git, not tarball releases.

* Make sure getDefaultSkin() never returns null and just uses 'vector'
  when no skins are available (so the user just has to install it).
* Produce a hidden input field to pass the generated value to the next
  installer page.

Change-Id: I025f1aeb182a818de59a42df01591e01fc9e6236
includes/installer/Installer.php
includes/installer/WebInstallerPage.php